<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>添加院校</title>
    <link href="${base}/resource/admin/css/common.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="${base}/resource/admin/js/jquery.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/js/jquery.validate.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/editor/kindeditor.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/js/common.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/js/input.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/layer/layer.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/layer/layer-mext.js"></script>
    <script type="text/javascript">

        $().ready(function() {
            var $inputForm = $("#inputForm");
            [@flash_message /]
            $("#complaintTemplate").browser({type:"file"});
        });
    </script>
</head>
<body>
<div class="path">
    <a href="${base}/admin/common/index.do">首页</a> &raquo;添加院校
</div>
<form id="inputForm" action="save.do" method="post" class="required-form" onsubmit="return validateForm(this)">
    <table class="input tabContent">
        <tr>
            <th>
                <span class="requiredField">*</span>院校名称
            </th>
            <td>
                <input type="text" name="name" class="text required" maxlength="100" />
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>院校全称
            </th>
            <td>
                <input type="text" name="fullName" class="text required" maxlength="100" />
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>是否列出
            </th>
            <td>
                <label>
                    <input type="checkbox" name="isList" value="true" checked="checked" />列出
                </label>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>置顶
            </th>
            <td>
                <label>
                    <input type="checkbox" name="isTop" value="true" checked="checked" />置顶
                </label>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>地区
            </th>
            <td>
                <label>
                    <input type="text" name="areaName" class="text required" readonly="readonly" maxlength="100" />
                    <input type="hidden" name="areaId" value=""/>
                    <input type="button"  class="layer-area" value="获取地区">
                </label>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>备注
            </th>
            <td>
                    <span class="fieldSet">
						<input type="text" name="memo" class="text"/>
					</span>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>介绍:
            </th>
            <td>
                <textarea id="editor" name="introduction" class="editor" style="width: 100%;"></textarea>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>搜索关键词
            </th>
            <td>
                    <span class="fieldSet">
						<input type="text" name="keyword" class="text required"/>
					</span>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>获取坐标
            </th>
            <td>
                    <span class="fieldSet">
						<input type="text" name="lng" class="text required"/>
                        <input type="text" name="lat" class="text required"/>
                        <input type="button"  class="layer-map" value="获取坐标">
					</span>
            </td>
        </tr>
        <tr>
            <th>
                &nbsp;
            </th>
            <td>
                <input type="submit" class="button" value="提交" />
                <input type="button" class="button" value="返回" onclick="location.href='list.do'" />
            </td>
        </tr>
    </table>
</form>
</body>
</html>